package com.txts.base.constant.enums;

import com.txts.base.common.enumeration.BaseEnum;

/**
 * @author baoyr
 * @version 1.0
 * @description: 文件存储方式
 * @date 2025/7/22 13:52
 */
public enum FileSaveModeEnum implements BaseEnum {
    MINIO(0, "minio"),

    OSS(1, "OSS"),

    LOCAL(2, "本地");

    FileSaveModeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private Integer value;
    private String desc;

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
